TARGET = bin/rtp_converter
OBJS = src/ffmpeg.o src/cmdutils.o src/cap.o
LIBS = -lavformat -lavcodec -lavutil -lavdevice -lswscale -lm -ldl
INCLUDES = -Iinclude -Iinclude/libavformat -Iinclude/libavcodec -Iinclude/libavutil
DEFINES = -DHAVE_AV_CONFIG_H
CC = gcc
CFLAGS = -g -std=c99 $(DEFINES) $(INCLUDES)

all: $(TARGET)

$(TARGET): $(OBJS)
	$(CC) $(CFLAGS) $(OBJS) $(LIBS) -o $(TARGET)

clean: 
	rm -f $(TARGET) $(OBJS)
